package com.practice.rpc.client;

import com.practice.rpc.server.RpcService;

public class ClientDemo {
	
	public static void main(String[] args) {
		RpcClientProxy client = new RpcClientProxy();
		
		RpcService service = client.createProxy(RpcService.class, "localhost", 8888);
		
		System.out.println(service.sayHello("Rpc Client test"));
	}

}
